package com.dorm.cj.extension.factoryBean;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

@Component
public class TestFactoryBean implements FactoryBean {
    @Override
    public Object getObject() throws Exception {
        return "myFactoryBean";
    }

    @Override
    public Class<?> getObjectType() {
        return null;
    }
}
